package com.css.zfzx.fxpg.modules.workarea.repository;

import com.css.zfzx.fxpg.modules.workarea.repository.entity.FxWorkareaEntity;
import com.css.zfzx.fxpg.modules.workarea.viewobjects.FxWorkareaQueryParams;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author leon
 * @date 2020-11-24
 */
public interface FxWorkareaNativeRepository {

    Page<FxWorkareaEntity> queryFxWorkareas(FxWorkareaQueryParams queryParams, int curPage, int pageSize);

    List<FxWorkareaEntity> listFxWorkareas(FxWorkareaQueryParams queryParams);

    List<FxWorkareaEntity> listFxWorkareasForStatistic(FxWorkareaQueryParams queryParams);
}
